package com.ai.service.made;

import com.ai.common.CommonResponse;
import com.ai.entity.made.ImageLabel;
import com.ai.model.made.CgLabelDto;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 图片标注 服务类
 * </p>
 *
 * @author jiaok
 * @since 2025-01-06
 */
public interface IImageLabelService extends IService<ImageLabel> {

    /**
     * 图片进行标注，新增删除同接口
     * @param cgLabelDto 入参
     * @return
     */
    CommonResponse labeling(CgLabelDto cgLabelDto);

    /**
     * 获取指定图片的标注信息
     * @param cgLabelDto
     * @return
     */
    CommonResponse getLabelInfo(CgLabelDto cgLabelDto);
}
